-- In this file you can set up all the properties and settings for your game mode.
--在这个文件中你可以设置所有的属性和设置你的游戏模式。

ENABLE_HERO_RESPAWN = true              -- Should the heroes automatically respawn on a timer or stay dead until manually respawned
										--英雄是否自动复活（true），还是保持死亡状态直到手动复活（false）
UNIVERSAL_SHOP_MODE = false             -- Should the main shop contain Secret Shop items as well as regular items
										--主商店是否包含神秘商店物品和常规物品
ALLOW_SAME_HERO_SELECTION = true        -- Should we let people select the same hero as each other
										--是否允许玩家选择相同的英雄

HERO_SELECTION_TIME = 30.0              -- How long should we let people select their hero?
										--玩家选择英雄时间
PRE_GAME_TIME = 30.0                    -- How long after people select their heroes should the horn blow and the game start?
										--玩家选择英雄后到游戏开始的准备时间

POST_GAME_TIME = 60.0                   -- How long should we let people look at the scoreboard before closing the server automatically?
										--玩家胜利后可以在游戏中逗留的时间
TREE_REGROW_TIME = 60.0                 -- How long should it take individual trees to respawn after being cut down/destroyed?
										--树木被摧毁后的重生间隔

GOLD_PER_TICK = 100                     -- How much gold should players get per tick?
										--每个时间段玩家获得的金钱数量
GOLD_TICK_TIME = 10                     -- How long should we wait in seconds between gold ticks?
										--多长时间获得一次金钱

RECOMMENDED_BUILDS_DISABLED = false     -- Should we disable the recommened builds for heroes
										--是否关闭推荐英雄界面（不确定）
CAMERA_DISTANCE_OVERRIDE = 1500.0       -- How far out should we allow the camera to go?  1134 is the default in Dota
										--玩家镜头高度

MINIMAP_ICON_SIZE = 1                   -- What icon size should we use for our heroes?
										--英雄图标在小地图中的大小
MINIMAP_CREEP_ICON_SIZE = 1             -- What icon size should we use for creeps?
										--生物图标在小地图中的大小
MINIMAP_RUNE_ICON_SIZE = 1              -- What icon size should we use for runes?
										--符文图标在小地图中的大小

RUNE_SPAWN_TIME = 120                   -- How long in seconds should we wait between rune spawns?
										--符文刷新时间

CUSTOM_BUYBACK_COST_ENABLED = true      -- Should we use a custom buyback cost setting?
										--是否使用自定义的买活金钱设置
CUSTOM_BUYBACK_COOLDOWN_ENABLED = true  -- Should we use a custom buyback time?
										--是否使用自定义的买活时间设置
BUYBACK_ENABLED = false                 -- Should we allow people to buyback when they die?
										--是否允许玩家买活

DISABLE_FOG_OF_WAR_ENTIRELY = false     -- Should we disable fog of war entirely for both teams?
										--是否禁用双方的战争迷雾
USE_UNSEEN_FOG_OF_WAR = false           -- Should we make unseen and fogged areas of the map completely black until uncovered by each team? 
										--是否设置在被探索之前，所有的不可见区域和战争迷雾区域皆为黑色
                                            -- Note: DISABLE_FOG_OF_WAR_ENTIRELY must be false for USE_UNSEEN_FOG_OF_WAR to work
                                            --注意：为了使USE_UNSEEN_FOG_OF_WAR正常工作，DISABLE_FOG_OF_WAR_ENTIRELY必须设置为false
USE_STANDARD_DOTA_BOT_THINKING = false  -- Should we have bots act like they would in Dota? (This requires 3 lanes, normal items, etc)
										--是否开启机器人行为AI（需要地图设置成3路，以及正常的物品设置，等等）
USE_STANDARD_HERO_GOLD_BOUNTY = true    -- Should we give gold for hero kills the same as in Dota, or allow those values to be changed?
										--英雄击杀金钱奖励是否和dota一样（true），还是允许这些值可以被改变（false）

USE_CUSTOM_TOP_BAR_VALUES = true        -- Should we do customized top bar values or use the default kill count per team?
										--是否允许使用自定义的计分板
TOP_BAR_VISIBLE = true                  -- Should we display the top bar score/count at all?
										--计分板是否可见
SHOW_KILLS_ON_TOPBAR = true             -- Should we display kills only on the top bar? (No denies, suicides, kills by neutrals)  Requires USE_CUSTOM_TOP_BAR_VALUES
										--计分板是否显示击杀数目（包括自杀、被中立生物杀死），需要USE_CUSTOM_TOP_BAR_VALUES为true

ENABLE_TOWER_BACKDOOR_PROTECTION = false-- Should we enable backdoor protection for our towers?
										--是否允许偷塔保护
REMOVE_ILLUSIONS_ON_DEATH = false       -- Should we remove all illusions if the main hero dies?
										--英雄死亡是否移除幻象
DISABLE_GOLD_SOUNDS = false             -- Should we disable the gold sound when players get gold?
										--当玩家获得金钱时是否禁用声音

END_GAME_ON_KILLS = false               -- Should the game end after a certain number of kills?
										--是否允许击杀数达到一定数目时游戏结束
KILLS_TO_END_GAME_FOR_TEAM = 50         -- How many kills for a team should signify an end of game?
										--一个队伍的击杀数目达到该数值时游戏胜利
USE_CUSTOM_HERO_LEVELS = true           -- Should we allow heroes to have custom levels?
										--是否使用自定义的英雄等级
MAX_LEVEL = 10                          -- What level should we let heroes get to?
										--自定义英雄的最大等级
USE_CUSTOM_XP_VALUES = false			-- Should we use custom XP values to level up heroes, or the default Dota numbers?
										--是否使用自定义的英雄经验设置（true），还是使用默认的dota设置（false）

-- Fill this table up with the required XP per level if you want to change it
--英雄经验表，这里你可以设置英雄每一个等级所需要的经验值
XP_PER_LEVEL_TABLE = {}
for i=1,MAX_LEVEL do
  XP_PER_LEVEL_TABLE[i] = (i-1) * 100
end

ENABLE_FIRST_BLOOD = false				-- Should we enable first blood for the first kill in this game?
										--是否允许一血
HIDE_KILL_BANNERS = false               -- Should we hide the kill banners that show when a player is killed?
										--是否隐藏击杀提示（游戏时间下面那个位置）
LOSE_GOLD_ON_DEATH = true               -- Should we have players lose the normal amount of dota gold on death?
										--是否使用dota里默认的玩家死亡丢失金钱设置
SHOW_ONLY_PLAYER_INVENTORY = false      -- Should we only allow players to see their own inventory even when selecting other units?
										--是否设置只允许玩家查看自己的物品栏
DISABLE_STASH_PURCHASING = false        -- Should we prevent players from being able to buy items into their stash when not at a shop?
										--当玩家不在商店范围内时是否阻止该玩家购买物品
DISABLE_ANNOUNCER = false               -- Should we disable the announcer from working in the game?
										--是否禁用游戏广播
FORCE_PICKED_HERO = nil                 -- What hero should we force all players to spawn as? (e.g. "npc_dota_hero_axe").  Use nil to allow players to pick their own hero.
										--玩家预设英雄，当为nil时，玩家可以选择英雄，否则跳过英雄选择界面直接进入到游戏

FIXED_RESPAWN_TIME = -1                 -- What time should we use for a fixed respawn timer?  Use -1 to keep the default dota behavior.
										--修改重生时间，如为-1则使用默认dota设置
FOUNTAIN_CONSTANT_MANA_REGEN = -1       -- What should we use for the constant fountain mana regen?  Use -1 to keep the default dota behavior.
										--泉水每秒回复一定数值的魔法值，如为-1则使用默认dota设置
FOUNTAIN_PERCENTAGE_MANA_REGEN = -1     -- What should we use for the percentage fountain mana regen?  Use -1 to keep the default dota behavior.
										--泉水每秒回复一定百分比的魔法值，如为-1则使用默认dota设置
FOUNTAIN_PERCENTAGE_HEALTH_REGEN = -1   -- What should we use for the percentage fountain health regen?  Use -1 to keep the default dota behavior.
										--泉水每秒回复一定百分比的生命值，如为-1则使用默认dota设置
MAXIMUM_ATTACK_SPEED = 600              -- What should we use for the maximum attack speed?
										--最大攻击速度
MINIMUM_ATTACK_SPEED = 20               -- What should we use for the minimum attack speed?
										--最小攻击速度


-- NOTE: You always need at least 2 non-bounty (non-regen while broken) type runes to be able to spawn or your game will crash!
--注意：你至少需要两种不同类型的神符可以在你的游戏中刷新，否则你的游戏会崩溃
ENABLED_RUNES = {}                      -- Which runes should be enabled to spawn in our game mode?
										--哪一种神符允许在你的游戏中刷新
ENABLED_RUNES[DOTA_RUNE_DOUBLEDAMAGE] = true		--双倍神符
ENABLED_RUNES[DOTA_RUNE_HASTE] = true				--急速神符
ENABLED_RUNES[DOTA_RUNE_ILLUSION] = true			--幻象神符
ENABLED_RUNES[DOTA_RUNE_INVISIBILITY] = true		--隐身神符
ENABLED_RUNES[DOTA_RUNE_REGENERATION] = true 		-- Regen runes are currently not spawning as of the writing of this comment
													--恢复神符，据说不顶用-。-
ENABLED_RUNES[DOTA_RUNE_BOUNTY] = true				--赏金神符


MAX_NUMBER_OF_TEAMS = 2								-- How many potential teams can be in this game mode?
													--在你的游戏模式中最大的队伍数量
USE_CUSTOM_TEAM_COLORS = true          				-- Should we use custom team colors?
													--是否使用自定义的队伍颜色
USE_CUSTOM_TEAM_COLORS_FOR_PLAYERS = true			-- Should we use custom team colors to color the players/minimap?
													--在小地图中是否为玩家使用自定义的队伍颜色

TEAM_COLORS = {}									-- If USE_CUSTOM_TEAM_COLORS is set, use these colors.
													--当USE_CUSTOM_TEAM_COLORS设置为true时，使用以下颜色设置
TEAM_COLORS[DOTA_TEAM_GOODGUYS] = { 61, 210, 150 }  --    Teal	 	水鸭色（鬼知道什么颜色-。-）
TEAM_COLORS[DOTA_TEAM_BADGUYS]  = { 243, 201, 9 }   --    Yellow	黄色
TEAM_COLORS[DOTA_TEAM_CUSTOM_1] = { 197, 77, 168 }  --    Pink		粉红色
TEAM_COLORS[DOTA_TEAM_CUSTOM_2] = { 255, 108, 0 }   --    Orange	橙色
TEAM_COLORS[DOTA_TEAM_CUSTOM_3] = { 52, 85, 255 }   --    Blue		蓝色
TEAM_COLORS[DOTA_TEAM_CUSTOM_4] = { 101, 212, 19 }  --    Green		绿色
TEAM_COLORS[DOTA_TEAM_CUSTOM_5] = { 129, 83, 54 }   --    Brown		褐色
TEAM_COLORS[DOTA_TEAM_CUSTOM_6] = { 27, 192, 216 }  --    Cyan		青色
TEAM_COLORS[DOTA_TEAM_CUSTOM_7] = { 199, 228, 13 }  --    Olive		橄榄色
TEAM_COLORS[DOTA_TEAM_CUSTOM_8] = { 140, 42, 244 }  --    Purple	紫色


USE_AUTOMATIC_PLAYERS_PER_TEAM = false   			-- Should we set the number of players to 10 / MAX_NUMBER_OF_TEAMS?
													--是否自动设置每个队伍的最大玩家数量
CUSTOM_TEAM_PLAYER_COUNT = {}           			-- If we're not automatically setting the number of players per team, use this table
													--如果我们没有自动设置每个队伍的玩家数量，则使用下面这个表的设置
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_GOODGUYS] = 4
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_BADGUYS]  = 4
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_1] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_2] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_3] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_4] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_5] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_6] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_7] = 1
CUSTOM_TEAM_PLAYER_COUNT[DOTA_TEAM_CUSTOM_8] = 1